﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using IData;
using Bussiness.Entity;
using DataAccess;
/// <summary>
/// Summary description for AccountManager
/// </summary>
namespace Bussiness
{
    public class AccountManager : IAcount
    {
        private IAcount sqlAccount = null;
        public AccountManager()
        {
            sqlAccount = new SqlAccount();
        }
        public bool Login(string userName, string password)
        {
            return sqlAccount.Login(userName, password);
        }
    }
}